<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

/*--------------------class_captcha-----------------------------*/
class Captcha extends MX_Controller {
    function index(){
        $this->load->library('captcha');
        $captcha = new ClassCaptcha();
        $captcha->chars_number = 4;
        $captcha->font_size = 15;
        $captcha->border_color = '204,204,204';
        $captcha->tt_font = 'assets/fonts/Roboto-Bold.ttf';
        //$_SESSION['security_code']; 
        //$_SESSION['security_code']; 
        $captcha->show_image(75, 33);
    }  
}